updateMoodEntry

suspend fun updateMoodEntry(journalEntry: JournalEntry)

Updates an existing journal entry in the Firestore database. If the entry does not exist, it will be added.

Parameters

journalEntry

The journal entry to update.